<template>
  <div>
    <button @click="publish">A</button>
  </div>
</template>

<script setup lang="ts">
import eventBus from '../../eventBus';
const publish = () => {
  eventBus.emit('me', '哈哈哈')
}
</script>

<style scoped>

</style>